<?php ini_set("precision","3"); ?>

<div class="column-left">
<div class="gn_box">	

    <!-- HEADER -->
     <div class="news-title"><?php echo $product->getName()?></div>
  <?php echo image_tag("/uploads/products/".$product->getPhoto(), array('alt'=>$product, 'style'=>'max-width:200px;max-height:200px;float:left;padding:10px 10px 10px 10px;border:1px solid #eee;'))?>
     <div style="margin-left:2px;" class="left">  
	
	  <table cellspacing="0" cellpadding="0" style="margin:10px;" >
        <tr>
    		<td nowrap style="width:10%;"><?php echo image_tag('icons/print.gif', array('align'=>'absmiddle'))?>&nbsp;<a href="javascript:window.print();" style="font-size:11px;text-decoration:none;">Хэвлэх</a></td>
      		<td nowrap style="width:15%;"><?php echo image_tag('icons/mail.gif', array('align'=>'absmiddle'))?>&nbsp;<a href="#" style="font-size:11px;text-decoration:none;">Найздаа илгээх</a></td>
      		<td nowrap style="width:20%;"><?php echo image_tag('icons/comment.gif', array('align'=>'absmiddle'))?>&nbsp;<a href="#commentForm" style="font-size:11px;text-decoration:none;">Сэтгэгдэл үлдээх</a></td>
        </tr>
        </table>  
        <hr style="border:0;border-top:1px solid #eee;"/>        
    
        <ul class="product-info" style="float:left; margin:6px;">
            <li><span>Үнэ:</span><?php echo $product->getPrice()?></li>
            <li><span>Хэмжээ:</span> <?php echo $product->getSize()?></li>
            <li><span>Холбоо барих:</span> <?php echo $product->getContact()?></li>      
            <li><span>Бэлэн байгаа эсэх:</span> <?php if ($product->getInstock()==1) echo 'Байгаа'; else echo 'Дууссан';?></li>      
        </ul>
        <table cellspacing="0" cellpadding="0" style="margin:15px;" >
        <tr>
          <td nowrap style="width:10%;"><a href="https://twitter.com/share" class="twitter-share-button" data-via="tlg13" data-teurl="<?php echo url_for('shop/show?id='.$product->getId(), true)?>" text="<?php echo $product ?>" data-lang="en">Tweet</a></td>
          <td nowrap style="width:10%;"><iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:110px; height:21px;" src="http://www.facebook.com/plugins/like.php?href=<?php echo url_for('shop/show?id='.$product->getId(), true)?>&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action=recommend&amp;font=arial&amp;colorscheme=light&amp;height=21"></iframe></td>
      	  <td nowrap style="width:10%;"><iframe scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:85px; height:21px;" src="http://biznetwork.mn/like/button?href=<?php echo url_for('shop/show?id='.$product->getId(), true)?>&amp;title=TLG Shop :: <?php echo $product?>"></iframe></td>
        </tr>
      </table>
         <br clear="all">
          <br clear="all">
       
    </div>
	
	
    <br clear="all">
    
    <div style="padding: 10px 10px 10px 10px;">
		 
      <span style="font-weight:bold;">Дэлгэрэнгүй мэдээлэл: </span> <?php echo $product->getDescription()?>	
    </div>
    <br clear="all">
    <br clear="all">
  
    
    <br clear="all">

    <?php include_partial('comment/comments', array('objectType'=>'product', 'objectId'=>$product->getId()));?>
</div>
</div>

<?php include_partial('main/right', array());?>

<br clear="all">

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>